version: '3.1'

services:
  mongo:
    image: mongo:5.0.3-focal
    volumes: 
      - ./db:/data/db
    ports:
      - 27017:27017
    restart: unless-stopped